home *** CD-ROM | disk | FTP | other *** search
- Path: solon.com!not-for-mail
- From: seebs@solutions.solon.com (Peter Seebach)
- Newsgroups: comp.lang.c
- Subject: Re: Schildt <- Advanced Books
- Date: 27 Feb 1996 06:50:25 -0600
- Organization: Usenet Fact Police (Undercover)
- Message-ID: <4guumh$ihe@solutions.solon.com>
- References: <8BA8405.02C70020DE.uuout@sourcebbs.com> <4g20q6$lro@redstone.interpath.net> <danpop.824685808@rscernix> <bnelsonDnFG3r.Ks6@netcom.com>
- NNTP-Posting-Host: solutions.solon.com
-
- In article <bnelsonDnFG3r.Ks6@netcom.com>,
- Bob Nelson <bnelson@netcom.com> wrote:
- >Though not as likely as the answer offered above, he may have also been
- >influenced by an organization that favors the void main() approach:
- >The Free Software Foundation of Cambridge, MA. Most of their utilities
- >consistently declare main in this non-standard manner. It's rather
- >surprising that Stallman allows this form of ignorance to bear the GNU
- >banner.
-
- Not at all. Stallman was seduced by the Dark Side. Observe:
-
- He feels it is fine to *assume* that int can hold *exactly* 32 bits.
- He feels it is fine to assume that all pointers have the same representation,
- which is that of int.
- gcc, which *does* have a warning for main not returning int, disables it on
- almost every platform. (gcc-amigados does warn. Which is funny because
- AmigaDOS doesn't care, although it does use a return value when possible.)
- bash's libreadline does *not* use stdarg.h - but has alternative code to try:
- 1. Using varargs. 2. Pretending you've been called with 8 arguments and
- hoping no one notices.
-
- Amazingly, they still believe this garbage even though the alpha took
- weeks longer than it should have to port software to.
-
- If you find this stupid or offensive, be sure to mail gnu@prep.ai.mit.edu
- explaining *why* it bothers you.
-
- -s
- (Personally, although I will never use a DOS box in all probability, I find
- it deeply offensive that someone would write code which assumes int is 32
- bits. DOS may not be desireable, but it is an important platform.)
- --
- Peter Seebach - seebs@solon.com - Copyright 1996 Peter Seebach.
- C/Unix wizard -- C/Unix questions? Send mail for help. No, really!
- FUCK the communications decency act. Goddamned government. [literally.]
- The *other* C FAQ - http://www.solon.com/~seebs/c/c-iaq.html
-